package com.twu.biblioteca;

public class Launcher {

    public static void main(String[] args) {
        Book[] books = {
            new Book("Extreme Programming", "Beck", "1989", false),
            new Book("Lord Of The Rings", "XYZ", "1979", false),
            new Book("Harry Potter", "Rollings", "2001", false)
        };
        Movie[] movies = {
            new Movie("Jane tu ya jane na", "Aamir khan", "2006", "6", false),
            new Movie("Krish3", "Rakesh Roshan", "2010", "1", false),
            new Movie("Kritika", "Sanjay lila bhansali", "2013", "3", false)
        };
        User[] users = {
            new User("123-4567", "password", "Anagha", "anagha@gmail.com"),
            new User("456-7890", "password1", "Pooja", "pooja@gmail.com")
        };

        UserCollection userCollection = new UserCollection(users);
        new BiblioteccaApp(new BookCollection(books), new MovieCollection(movies), userCollection,null).run(System.out, System.in);
    }
}
